package com.example.springboot.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 用户成绩表
 * @Author:wzf
 * @Data:2022/2/21
 * @Version:1.0
 */
@Entity(name = "student_wzf_scope")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserScope {
  /**
   * 成绩表ID
   */
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Integer id;
  /**
   * 学科名
   */
  private String subject;
  /**
   * 学科成绩
   */
  private Integer scope;

  /**
   * 用户ID
   */
  private Integer userId;
}
